home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / RLaB 1.18c / manual / writeb.tex < prev    next >
LaTeX Document  |  1994-03-08  |  783 b   |  [TEXT/ttxt]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: LaTeX Document (document/latex).

You can browse this item here: writeb.tex

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document text default
99% file LaTeX document, ASCII text, with CR line terminators default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/281 LaTeX (Subdocument) default
100% detectItEasy Format: plain text[CR] default (weak)


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[ttxt]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 73 65 63 74 69 6f 6e | 7b 77 72 69 74 65 62 20 |\section|{writeb |
|00000010| 2d 2d 2d 20 77 72 69 74 | 65 20 62 69 6e 61 72 79 |--- writ|e binary|
|00000020| 20 64 61 74 61 20 74 6f | 20 66 69 6c 65 7d 0d 5c | data to| file}.\|
|00000030| 6c 61 62 65 6c 7b 66 6e | 3a 77 72 69 74 65 62 7d |label{fn|:writeb}|
|00000040| 0d 5c 69 6e 64 65 78 7b | 77 72 69 74 65 62 28 29 |.\index{|writeb()|
|00000050| 7d 0d 5c 69 6e 64 65 78 | 7b 77 72 69 74 69 6e 67 |}.\index|{writing|
|00000060| 20 62 69 6e 61 72 79 20 | 64 61 74 61 20 74 6f 20 | binary |data to |
|00000070| 61 20 66 69 6c 65 7d 0d | 5c 69 6e 64 65 78 7b 62 |a file}.|\index{b|
|00000080| 69 6e 61 72 79 20 64 61 | 74 61 21 6f 75 74 70 75 |inary da|ta!outpu|
|00000090| 74 7d 0d 5c 69 6e 64 65 | 78 7b 62 69 6e 61 72 79 |t}.\inde|x{binary|
|000000a0| 20 64 61 74 61 21 73 61 | 76 69 6e 67 20 69 6e 20 | data!sa|ving in |
|000000b0| 61 20 66 69 6c 65 7d 0d | 5c 62 65 67 69 6e 7b 72 |a file}.|\begin{r|
|000000c0| 61 69 6c 7d 0d 57 72 69 | 74 65 42 69 6e 61 72 79 |ail}.Wri|teBinary|
|000000d0| 20 3a 20 27 77 72 69 74 | 65 62 27 20 27 28 27 20 | : 'writ|eb' '(' |
|000000e0| 53 74 72 69 6e 67 20 27 | 2c 27 20 4d 61 74 72 69 |String '|,' Matri|
|000000f0| 78 20 27 29 27 20 3b 0d | 5c 65 6e 64 7b 72 61 69 |x ')' ;.|\end{rai|
|00000100| 6c 7d 0d 0d 5c 76 65 72 | 62 2b 77 72 69 74 65 62 |l}..\ver|b+writeb|
|00000110| 2b 20 69 73 20 75 73 65 | 64 20 74 6f 20 77 72 69 |+ is use|d to wri|
|00000120| 74 65 20 62 69 6e 61 72 | 79 20 64 61 74 61 20 74 |te binar|y data t|
|00000130| 6f 20 61 20 66 69 6c 65 | 2e 20 20 54 68 65 20 6f |o a file|. The o|
|00000140| 75 74 70 75 74 20 69 73 | 0d 69 6e 74 65 6e 64 65 |utput is|.intende|
|00000150| 64 20 74 6f 20 62 65 20 | 63 6f 6d 70 61 74 69 62 |d to be |compatib|
|00000160| 6c 65 20 77 69 74 68 20 | 62 6f 74 68 20 74 68 65 |le with |both the|
|00000170| 20 5c 76 65 72 62 2b 72 | 65 61 64 62 2b 20 66 75 | \verb+r|eadb+ fu|
|00000180| 6e 63 74 69 6f 6e 20 61 | 6e 64 0d 73 65 76 65 72 |nction a|nd.sever|
|00000190| 61 6c 20 6f 74 68 65 72 | 20 70 72 6f 67 72 61 6d |al other| program|
|000001a0| 73 2c 20 73 75 63 68 20 | 61 73 20 4d 41 54 4c 41 |s, such |as MATLA|
|000001b0| 42 24 5e 7b 54 4d 7d 24 | 2e 0d 0d 5c 70 61 72 61 |B$^{TM}$|...\para|
|000001c0| 67 72 61 70 68 7b 45 78 | 61 6d 70 6c 65 7d 0d 5c |graph{Ex|ample}.\|
|000001d0| 69 6e 64 65 78 7b 65 78 | 61 6d 70 6c 65 20 6f 66 |index{ex|ample of|
|000001e0| 20 77 72 69 74 65 62 28 | 29 7d 0d 5c 69 6e 64 65 | writeb(|)}.\inde|
|000001f0| 78 7b 77 72 69 74 65 62 | 28 29 21 65 78 61 6d 70 |x{writeb|()!examp|
|00000200| 6c 65 7d 0d 5c 62 65 67 | 69 6e 7b 76 65 72 62 61 |le}.\beg|in{verba|
|00000210| 74 69 6d 7d 0d 44 75 6d | 6d 79 20 45 78 61 6d 70 |tim}.Dum|my Examp|
|00000220| 6c 65 0d 5c 65 6e 64 7b | 76 65 72 62 61 74 69 6d |le.\end{|verbatim|
|00000230| 7d 0d 0d 53 65 65 20 61 | 6c 73 6f 3a 20 50 61 67 |}..See a|lso: Pag|
|00000240| 65 7e 5c 70 61 67 65 72 | 65 66 7b 66 6e 3a 63 6c |e~\pager|ef{fn:cl|
|00000250| 6f 73 65 7d 20 5c 76 65 | 72 62 2b 63 6c 6f 73 65 |ose} \ve|rb+close|
|00000260| 28 29 2b 2c 0d 50 61 67 | 65 7e 5c 70 61 67 65 72 |()+,.Pag|e~\pager|
|00000270| 65 66 7b 66 6e 3a 72 65 | 61 64 7d 20 5c 76 65 72 |ef{fn:re|ad} \ver|
|00000280| 62 2b 72 65 61 64 28 29 | 2b 2c 0d 50 61 67 65 7e |b+read()|+,.Page~|
|00000290| 5c 70 61 67 65 72 65 66 | 7b 66 6e 3a 72 65 61 64 |\pageref|{fn:read|
|000002a0| 62 7d 20 5c 76 65 72 62 | 2b 72 65 61 64 62 28 29 |b} \verb|+readb()|
|000002b0| 2b 2c 0d 50 61 67 65 7e | 5c 70 61 67 65 72 65 66 |+,.Page~|\pageref|
|000002c0| 7b 66 6e 3a 72 65 61 64 | 6d 7d 20 5c 76 65 72 62 |{fn:read|m} \verb|
|000002d0| 2b 72 65 61 64 6d 28 29 | 2b 2c 0d 50 61 67 65 7e |+readm()|+,.Page~|
|000002e0| 5c 70 61 67 65 72 65 66 | 7b 66 6e 3a 77 72 69 74 |\pageref|{fn:writ|
|000002f0| 65 7d 20 5c 76 65 72 62 | 2b 77 72 69 74 65 28 29 |e} \verb|+write()|
|00000300| 2b 2e 0d 0d 5c 6e 65 77 | 70 61 67 65 0d 0d 0d |+...\new|page... |
+--------+-------------------------+-------------------------+--------+--------+